package com.ruoyi.system.domain.db.basic;

import com.ruoyi.common.core.domain.NewBasicEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 货物类型对象 basic_cargo_types
 * 
 * @author ruoyi
 * @date 2023-07-25
 */
public class BasicCargoTypes  extends NewBasicEntity
{
    private static final long serialVersionUID = 1L;

    /** 货物类型唯一标识 */
    private Long cargoTypeId;

    /** 货物类型名称 */
    @Excel(name = "货物类型名称")
    private String cargoTypeName;

    /** 删除标识 */
    private Integer isDelete;

    public void setCargoTypeId(Long cargoTypeId)
    {
        this.cargoTypeId = cargoTypeId;
    }

    public Long getCargoTypeId()
    {
        return cargoTypeId;
    }
    public void setCargoTypeName(String cargoTypeName) 
    {
        this.cargoTypeName = cargoTypeName;
    }

    public String getCargoTypeName() 
    {
        return cargoTypeName;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cargoTypeId", getCargoTypeId())
            .append("cargoTypeName", getCargoTypeName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
